package com.qf.service.serviceImpl;

import com.qf.dao.CatDao;
import com.qf.pojo.Cat;
import com.qf.service.CatService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class CatServiceImpl implements CatService {
    @Autowired
    CatDao catDao;
    @Override
    public List<Cat> findByCatAll() {
        return catDao.findAll();
    }
}
